package com.beyond.framework.privilege.sampleaction;

import com.beyond.framework.privilege.annotations.Privilege;

/**
 * Created by IntelliJ IDEA.
 * User: lewisw
 * Date: Sep 17, 2010
 * Time: 11:22:30 AM
 */
public class BrandAction {

    @Privilege(value="root.goods.brand.list", isEntrance = true, order = 1)
    public String list() throws Exception {
        return null;
    }

    @Privilege(value="root.goods.brand.add", order = 2)
    public String add() throws Exception {
        return null;
    }

    @Privilege(value="root.goods.brand.edit", order = 3)
    public String edit() throws Exception {
        return null;
    }

    @Privilege(value="root.goods.brand.delete", order = 4)
    public String delete() throws Exception {
        return null;
    }

    public String update() throws Exception {
        return null;
    }
}
